﻿using HCQ2_IBLL;
using HCQ2_Model.VLine.OutputDto;
using HCQ2_Model.VR.Model;
using HCQ2_Model.VR.Params;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_BLL
{
    public partial class T_VRUserMessageBLL: IT_VRUserMessageBLL
    {
        /// <summary>
        ///  获取消息列表
        /// </summary>
        /// <param name="param">查询参数</param>
        /// <param name="total">返回记录数</param>
        /// <returns></returns>
        public List<UserMessageList> GetUserMessageList(UserMessageQuery param, out int total)
        {
            return DBSession.IT_VRUserMessageDAL.GetUserMessageList(param, out total);
        }

        //***************************接口**************************
        /// <summary>
        ///  获取用户消息列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public List<UserMessageModel> GetUserMessage(UserMessPram param)
        {
            return DBSession.IT_VRUserMessageDAL.GetUserMessage(param);
        }
    }
}